package com.mb.mp.dao;

import com.mb.mp.domain.MpProductInfoDO;

import java.util.List;
import java.util.Map;

public interface MpProductInfoDOMapper {
    int deleteByPrimaryKey(Long productId);

    int insert(MpProductInfoDO record);

    int insertSelective(MpProductInfoDO record);

    MpProductInfoDO selectByPrimaryKey(Long productId);

    int updateByPrimaryKeySelective(MpProductInfoDO record);

    int updateByPrimaryKey(MpProductInfoDO record);

    List<MpProductInfoDO> list(Map<String, Object> map);

    Integer count(Map<String, Object> map);

    MpProductInfoDO queryProductInfo(String productName);
}